﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BKO.Domain.Services
{
	public interface IBaseService<IEntity>
	{
		IEntity Get(int id);
		IEntity GetByName(string name);
		List<IEntity> GetAll();
		IEntity Add(string name, string description);
		void Update(int id, string name, string description);
		void Delete(int id);
	}
}
